
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>更新图书</title>
</head>
<body>
     <h3>更新书籍</h3>
     <form action="update" method="post" enctype="application/x-www-form-urlencoded">
         <table>
             <tr>
                 <td>编号</td>
                 <td>
                     <input type="text" name="id" value="${book.id}" readonly="readonly"/>
                 </td>
             </tr>
             <tr>
                 <td>书名</td>
                 <td>
                     <input type="text" name="title" value="${book.title}"/>
                 </td>
             </tr>
             <tr>
                 <td>作者</td>
                 <td>
                     <input type="text" name="author" value="${book.author}"/>
                 </td>
             </tr>

             <tr>
                 <td>价格</td>
                 <td>
                     <input type="text" name="price" value="${book.price}"/>
                 </td>
             </tr>

             <tr>
                 <td colspan="2">
                     <input type="submit" value="保存"/>
                     <input type="reset" value="重置"/>
                 </td>
             </tr>
         </table>
     </form>
</body>
</html>
